Component org.nuxeo.ecm.core.orphanVersionsCleanup
In bundle org.nuxeo.ecm.core
Requirements
Resolution Order
135
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.core.orphanVersionsCleanup--actions
- org.nuxeo.ecm.core.orphanVersionsCleanup--streamProcessor
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.orphanVersionsCleanup">
<require>org.nuxeo.ecm.core.bulk</require>
<!-- bulk action implementing the new orphan versions full GC -->
<extension target="org.nuxeo.ecm.core.bulk" point="actions">
<action name="garbageCollectOrphanVersions" inputStream="bulk/garbageCollectOrphanVersions" bucketSize="100"
batchSize="25" />
</extension>
<extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
<streamProcessor name="garbageCollectOrphanVersions"
class="org.nuxeo.ecm.core.action.GarbageCollectOrphanVersionsAction"
defaultConcurrency="${nuxeo.bulk.action.garbageCollectOrphanVersions.defaultConcurrency:=2}"
defaultPartitions="${nuxeo.bulk.action.garbageCollectOrphanVersions.defaultPartitions:=4}">
<policy name="default" maxRetries="3" delay="500ms" maxDelay="10s" continueOnFailure="false" />
</streamProcessor>
</extension>
</component>